package com.xd.core.business.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @ClassName GuaranteePageVo
 * @Description 保单列表分页查询
 * @Author Zch
 * @Date 2025/6/20 星期五 11:24
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class GuaranteePageVo {

    @ApiModelProperty(value = "保单id")
    private Integer guaranteeId;

    @ApiModelProperty(value = "借款人名称")
    private String name;

    @ApiModelProperty(value = "车牌号")
    private String carNo;

    @ApiModelProperty(value = "借款订单编号")
    private String incomingOrder;

    @ApiModelProperty(value = "车架号")
    private String vin;

    @ApiModelProperty(value = "保单号")
    private String policyNo;

    @ApiModelProperty(value = "放款时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", shape = JsonFormat.Shape.STRING, timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "保司名称")
    private String accountName;

    @ApiModelProperty(value = "复核状态 0：未复核 1：已通过 2：未通过")
    private Integer reviewStatus;

    @ApiModelProperty(value = "复核状态 0：未复核 1：已通过 2：未通过")
    private String reviewStatusRemark;

    @ApiModelProperty(value = "复核意见")
    private String reviewOpinion;

    @ApiModelProperty(value = "复核时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", shape = JsonFormat.Shape.STRING, timezone = "GMT+8")
    private Date reviewDate;

    @ApiModelProperty(value = "保单状态 0：已生效 1：已失效 2：已退保")
    private String status;

    @ApiModelProperty(value = "保单状态 0：已生效 1：已失效 2：已退保")
    private String statusRemark;

    @ApiModelProperty(value = "结清状态 1:还款中 2:已结清 3:已逾期")
    private String settleStatus;

    @ApiModelProperty(value = "结清状态 1:还款中 2:已结清 3:已逾期（2以外的状态都是未结清）")
    private String settleStatusRemark;

    @ApiModelProperty(value = "保险种类（0--车险，1--工程机械保险）")
    private String insuranceType;

    @ApiModelProperty(value = "保险种类（0--车险，1--工程机械保险）")
    private String insuranceTypeRemark;

    @ApiModelProperty(value = "上传时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", shape = JsonFormat.Shape.STRING, timezone = "GMT+8")
    private Date uploadDate;

    @ApiModelProperty(value = "上传人")
    private String uploadUser;

    @ApiModelProperty(value = "进件人")
    private String incomingUser;
}
